package jym.tan.movielibrary.component.ui.panel;

import org.jdesktop.swingx.ScrollableSizeHint;

import jym.tan.movielibrary.component.base.BasePanel;

public abstract class ScrollablePanel<E> extends BasePanel<E> {

	private static final long serialVersionUID = 68L;

	public ScrollablePanel() {
		super();
		setScrollableTracksViewportHeight(false);
		setScrollableTracksViewportWidth(false);
		setScrollableHeightHint(ScrollableSizeHint.VERTICAL_STRETCH);
		setScrollableWidthHint(ScrollableSizeHint.HORIZONTAL_STRETCH);
	}
}
